package com.caojing.haolemai.ui.category;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.HomeLvBean;
import com.caojing.haolemai.bean.HomeVpBean;
import com.caojing.haolemai.bean.categorybean.CategoryBean;
import com.caojing.haolemai.httputils.HttpUtils;

/**
 * Created by My on 2016/10/17.
 */
public class CatrgoryContract {

    public interface Model extends IBaseModel {
        void getCategoryBean(HttpUtils.HttpCallBack<CategoryBean> categoryBeanHttpCallBack);

    }
    public interface View extends IBaseView {
        void onSuccessGetCategoryBean(CategoryBean categoryBean);
        void onFailGetCategoryBean(String msg);

    }

    public interface Presenter extends IBasePresenter {
        void initCategoryData();
    }
}
